﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 采购产品明细
    /// </summary>
    [SugarTable("Purchaseproduct")]
    public class Purchaseproduct
    {
        /// <summary>
        /// 采购产品明细id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int PurchaseproductId { get; set; }
        /// <summary>
        /// 单据编号 采购
        /// </summary>
        public string? PANumber { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 供应商id
        /// </summary>
        public int VendorId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal SumPrice { get; set; }
        /// <summary>
        /// 需用日期
        /// </summary>
        public DateTime Datess { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string ? Remark { get; set; }


    }
}
